package com.web.exiaodao.remote.vo;

import com.web.exiaodao.business.entity.FanliBusiness;
import com.web.exiaodao.business.entity.FanliRules;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @ClassName: FanliRulesVo
 * @Description:返利-合约表 Vo
 * @author eason.zt
 * @date  2017-02-13 14:31:04
 *
 */
@ApiModel(value="返利-合约表Vo对象")
public class FanliRulesVo {

	@ApiModelProperty(value="主键，自动增长")
	private Long id;
	
	@ApiModelProperty(value="创建时间")
	private String createTime;
	
 	@ApiModelProperty(value="商家编号,商家编号，外键，关联商家表")
	private Long busId;
	@ApiModelProperty(value="商家服务费利率,商家服务费利率，商家服务费利率=平台返利率+用户返利率")
	private Double busfaliRate;
	@ApiModelProperty(value="平台返利率,平台返利率")
	private Double platformRaliRate;
	@ApiModelProperty(value="用户返利率,用户返利率")
	private Double userFaliRate;
	@ApiModelProperty(value="返利结算时长,返利结算时长（天）")
	private String faliDays;
	
	//新增
	@ApiModelProperty(value = "状态，0为无效，1为正常,2为发布,3删除 参看XaConstant.Status")
	private Integer status;
	@ApiModelProperty(value="返利-商家表Vo ,返利-商家表Vo ")
	private FanliBusinessVo fanliBusinessVo;
	@ApiModelProperty(value="返利-合约表 ,返利-合约表 ")
	private FanliRules fanliRules;
	@ApiModelProperty(value="返利-商家表 ,返利-商家表 ")
	private List<FanliBusiness> fanliBusiness;

	public FanliRulesVo(Long id, String createTime, Long busId,
			Double busfaliRate, Double platformRaliRate, Double userFaliRate,
			String faliDays, Integer status, FanliBusinessVo fanliBusinessVo,
			FanliRules fanliRules, List<FanliBusiness> fanliBusiness) {
		super();
		this.id = id;
		this.createTime = createTime;
		this.busId = busId;
		this.busfaliRate = busfaliRate;
		this.platformRaliRate = platformRaliRate;
		this.userFaliRate = userFaliRate;
		this.faliDays = faliDays;
		this.status = status;
		this.fanliBusinessVo = fanliBusinessVo;
		this.fanliRules = fanliRules;
		this.fanliBusiness = fanliBusiness;
	}

	public FanliRulesVo() {
		super();
	}
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
		public void setBusId(Long busId){
		this.busId=busId;
	}
	
	public Long getBusId(){
		return busId;
	}
		public void setBusfaliRate(Double busfaliRate){
		this.busfaliRate=busfaliRate;
	}
	
	public Double getBusfaliRate(){
		return busfaliRate;
	}
		public void setPlatformRaliRate(Double platformRaliRate){
		this.platformRaliRate=platformRaliRate;
	}
	
	public Double getPlatformRaliRate(){
		return platformRaliRate;
	}
		public void setUserFaliRate(Double userFaliRate){
		this.userFaliRate=userFaliRate;
	}
	
	public Double getUserFaliRate(){
		return userFaliRate;
	}
		public void setFaliDays(String faliDays){
		this.faliDays=faliDays;
	}
	
	public String getFaliDays(){
		return faliDays;
	}

	public List<FanliBusiness> getFanliBusiness() {
		return fanliBusiness;
	}

	public void setFanliBusiness(List<FanliBusiness> fanliBusiness) {
		this.fanliBusiness = fanliBusiness;
	}

	public FanliRules getFanliRules() {
		return fanliRules;
	}

	public void setFanliRules(FanliRules fanliRules) {
		this.fanliRules = fanliRules;
	}

	public FanliBusinessVo getFanliBusinessVo() {
		return fanliBusinessVo;
	}

	public void setFanliBusinessVo(FanliBusinessVo fanliBusinessVo) {
		this.fanliBusinessVo = fanliBusinessVo;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
		
}

